package com.talkyun.openx.codec.impl;

import java.math.BigDecimal;
import java.util.Date;

public class JsonExample {
    private String name;
    private int age;
    private float weight;
    private Date birthday;
    private Address address;
    private BigDecimal decimal;

    public BigDecimal getDecimal() {
        return decimal;
    }

    public void setDecimal(BigDecimal decimal) {
        this.decimal = decimal;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public static class Address {
        private JsonExample root;

        public JsonExample getRoot() {
            return root;
        }

        public void setRoot(JsonExample root) {
            this.root = root;
        }

        private int no;
        private String address;
        private Date alive;

        public int getNo() {
            return no;
        }

        public void setNo(int no) {
            this.no = no;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public Date getAlive() {
            return alive;
        }

        public void setAlive(Date alive) {
            this.alive = alive;
        }

    }
}
